{% extends 'base.html' %}
{% block title %}文章搜索 - 畜牧大集网{% endblock %}
{% block meta %}
<link href="{{ STATIC_URL }}css/list.css" rel="stylesheet" type="text/css" />
{% endblock %}

{% block content %}
	<div class="content c-2">
        <div class="c-l">
            <div class="box-t"></div>
            <div class="txt-box">
<div style="padding: 10px 15px" class="list-top">
<form action="" method="GET" class="form-horizontal">
<input type="text" id="query" name="q" length="80" style="width:240px;" class="input-xlarge focused" />
<input type="submit" class="btn primary" name="search" value=" 搜索 " />
</form>
</div>
<hr style="width:95%" />
            <div class="list-content" style="padding-left:25px;">
                <div class="list">
{% if articles %}
<ul>
{% for item in articles %}
<li><a href="/news/view/{{ item.id }}.html">{{ item.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
                </div>
                </div>
            </div>
            <div class="box-b"><span></span></div>
            <div class="page-list"></div>
        </div>
        <div class="c-r txt-list">
        </div>
    </div>
{% endblock %}
